const runtime.pagesPerSpanRoot
7 uses
runtime (current package)
malloc.go#L477: if pagesPerArena%pagesPerSpanRoot != 0 {
malloc.go#L478: print("pagesPerArena (", pagesPerArena, ") is not divisible by pagesPerSpanRoot (", pagesPerSpanRoot, ")\n")
mgcmark.go#L51: pagesPerSpanRoot = 512
mgcmark.go#L97: work.nSpanRoots = len(mheap_.markArenas) * (pagesPerArena / pagesPerSpanRoot)
mgcmark.go#L339: ai := mheap_.markArenas[shard/(pagesPerArena/pagesPerSpanRoot)]
mgcmark.go#L341: arenaPage := uint(uintptr(shard) * pagesPerSpanRoot % pagesPerArena)
mgcmark.go#L345: specialsbits = specialsbits[:pagesPerSpanRoot/8]
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)